package com.he.User.UserService;

import com.he.User.UserDao.UserMapper;
import com.he.User.UserEntity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 贺文杰
 * 2018/8/19 14:33
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public  User selectByName(String s) {
        User user=new User();
        user=userMapper.selectByName(s);
        return user;
    }
}
